package com.whnk.model.domain;

import com.whnk.common.core.annotation.Excel;
import com.whnk.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
/**
 * 【请填写功能名称】对象 def_t_process_info
 *
 * @author whnk
 * @date 2021-10-20
 */
public class DefTProcessInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 逻辑ID */
    private Long id;

    /** 流程名称 */
    @Excel(name = "流程名称")
    private String processName;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 本地的工作流id */
    @Excel(name = "本地的工作流id")
    private Long workflowId;

    private String productName;

    private String workflowName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProcessName(String processName)
    {
        this.processName = processName;
    }

    public String getProcessName()
    {
        return processName;
    }
    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }
    public void setWorkflowId(Long workflowId)
    {
        this.workflowId = workflowId;
    }

    public Long getWorkflowId()
    {
        return workflowId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getWorkflowName() {
        return workflowName;
    }

    public void setWorkflowName(String workflowName) {
        this.workflowName = workflowName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("processName", getProcessName())
            .append("productId", getProductId())
            .append("workflowId", getWorkflowId())
            .toString();
    }
}
